blob: d779cc75b44f01999f545820ddabd531f2c45346 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WIMAX_MANAGER_BYTE_IDENTIFIER_H_
#define WIMAX_MANAGER_BYTE_IDENTIFIER_H_
#include <string>
#include <vector>
#include <base/basictypes.h>
namespace wimax_manager {
class ByteIdentifier {
public:
explicit ByteIdentifier(size_t length);
ByteIdentifier(const uint8 *data, size_t length);
~ByteIdentifier();
const std::vector<uint8> &data() const { return data_; }
std::string GetHexString() const;
void CopyFrom(const ByteIdentifier &identifier);
private:
std::vector<uint8> data_;
DISALLOW_COPY_AND_ASSIGN(ByteIdentifier);
};
} // wimax_manager
#endif // WIMAX_MANAGER_BYTE_IDENTIFIER_H_