예제 #1
0
 public int WriteValue(LazyStringValue str)
 {
     return(WriteValue(str, out _, UsageMode.None, null));
 }
예제 #2
0
 public void WritePropertyName(LazyStringValue prop)
 {
     WriteString(prop);
     EnsureBuffer(1);
     _buffer[_pos++] = Colon;
 }
예제 #3
0
 public LazyNumberValue(LazyStringValue inner)
 {
     Inner = inner;
 }
예제 #4
0
 public bool EqualsOrdinalIgnoreCase(LazyStringValue other)
 {
     return(CompareToOrdinalIgnoreCase(this.Buffer, Size, other.Buffer, other.Size) == 0);
 }
예제 #5
0
 public LazyDoubleValue(LazyStringValue inner)
 {
     Inner = inner;
 }
예제 #6
0
 public bool Equals(LazyStringValue other)
 {
     return(CompareTo(other) == 0);
 }
예제 #7
0
 public unsafe int WriteValue(LazyStringValue str, out BlittableJsonToken token,
                              int?initialCompressedSize)
 {
     token = BlittableJsonToken.String;
     return(1);
 }
예제 #8
0
 public int WriteValue(LazyStringValue str)
 {
     return(WriteValue(str, out _, null));
 }
예제 #9
0
 public unsafe int WriteValue(LazyStringValue str, out BlittableJsonToken token,
                              UsageMode mode, int?initialCompressedSize)
 {
     return(WriteValue(str.Buffer, str.Size, str.EscapePositions, out token, mode, initialCompressedSize));
 }
예제 #10
0
        public int WriteValue(LazyStringValue str)
        {
            BlittableJsonToken token;

            return(WriteValue(str, out token, UsageMode.None, null));
        }