Lines Matching refs:ByteString
30 class SHILL_EXPORT ByteString {
32 ByteString() {} in ByteString() function
33 ByteString(const ByteString& b);
35 explicit ByteString(const std::vector<unsigned char>& data) : data_(data) {} in ByteString() function
37 explicit ByteString(size_t length) : data_(length) {} in ByteString() function
39 ByteString(const unsigned char* data, size_t length) in ByteString() function
42 ByteString(const char* data, size_t length) in ByteString() function
45 ByteString(const signed char* data, size_t length) in ByteString() function
48 ByteString(const std::string& data, bool copy_terminator) in ByteString() function
55 ByteString& operator=(const ByteString& b);
65 ByteString GetSubstring(size_t offset, size_t length) const;
68 static ByteString CreateFromCPUUInt32(uint32_t val);
70 static ByteString CreateFromNetUInt32(uint32_t val);
77 static ByteString CreateFromHexString(const std::string& hex_string);
105 bool BitwiseAnd(const ByteString& b);
111 bool BitwiseOr(const ByteString& b);
116 bool Equals(const ByteString& b) const;
117 void Append(const ByteString& b);
128 static bool IsLessThan(const ByteString& lhs, const ByteString& rhs);