public static string ReadString(ref ReadOnlySpan <byte> buffer, ref ParserInternalState state) { int length = ParsingPrimitives.ParseLength(ref buffer, ref state); return(ParsingPrimitives.ReadRawString(ref buffer, ref state, length)); }