Lines Matching refs:bytes
1606 auto bytes = System::Text::Encoding::UTF8->GetBytes(ref->ToString());
1607 cli::pin_ptr<System::Byte> p = &bytes[0];
1608 return std::string(reinterpret_cast<char const *>(p), bytes->Length);
4591 // Picked by reading 8 bytes from `/dev/random` :-)
15051 unsigned char const *bytes = static_cast<unsigned char const *>(object);
15055 rss << std::setw(2) << static_cast<unsigned>(bytes[i]);
15554 // Check if the encoding is valid and if it is not, hex escape bytes.
15556 // First check that this bytes is a valid lead byte:
15566 // Are there enough bytes left to avoid accessing out-of-bounds memory?
15572 // The next encBytes bytes must together be a valid utf-8
15583 // Wrong bit pattern of following bytes