Lines Matching refs:Length
101 public int Length property in Google.Protobuf.ByteString
103 get { return bytes.Length; }
111 get { return Length == 0; }
181 int capacity = stream.CanSeek ? checked((int) (stream.Length - stream.Position)) : 0; in FromStream()
188 …byte[] bytes = memoryStream.Length == memoryStream.Capacity ? memoryStream.GetBuffer() : memoryStr… in FromStream()
205 int capacity = stream.CanSeek ? checked((int) (stream.Length - stream.Position)) : 0; in FromStreamAsync()
214 …byte[] bytes = memoryStream.Length == memoryStream.Capacity ? memoryStream.GetBuffer() : memoryStr… in FromStreamAsync()
290 return encoding.GetString(bytes, 0, bytes.Length); in ToString()
349 if (lhs.bytes.Length != rhs.bytes.Length) in operator ==()
353 for (int i = 0; i < lhs.Length; i++) in operator ==()
414 outputStream.WriteRawBytes(bytes, 0, bytes.Length); in WriteRawBytesTo()
422 ByteArray.Copy(bytes, 0, array, position, bytes.Length); in CopyTo()
430 outputStream.Write(bytes, 0, bytes.Length); in WriteTo()