add byte_str_t copy ctor
This commit is contained in:
parent
58c876b1cc
commit
2357663375
|
@ -302,6 +302,8 @@ struct byte_str_t : hb_ubytes_t
|
|||
{
|
||||
byte_str_t ()
|
||||
: hb_ubytes_t () {}
|
||||
byte_str_t (const byte_str_t &bs)
|
||||
: hb_ubytes_t (bs) {}
|
||||
byte_str_t (const UnsizedByteStr& s, unsigned int l)
|
||||
: hb_ubytes_t ((const unsigned char*)&s, l) {}
|
||||
byte_str_t (const unsigned char *s, unsigned int l)
|
||||
|
|
Loading…
Reference in New Issue