Ejemplo n.º 1
0
 /// <summary>
 /// decodes the weight at the current position </summary>
 protected internal virtual long Decode(BytesRef scratch, ByteArrayDataInput tmpInput)
 {
     tmpInput.Reset(scratch.Bytes);
     tmpInput.SkipBytes(scratch.Length - 8); // suggestion
     scratch.Length -= 8;                    // long
     return(tmpInput.ReadLong());
 }