public SourceDebugExtensionAttribute Parse(Stream attributeDataStream, uint attributeDataLength, ClassReaderState readerState, AttributeScope scope) { return(new SourceDebugExtensionAttribute { Value = ModifiedUtf8Helper.Decode(attributeDataStream.ReadBytes(attributeDataLength)) }); }
public Utf8Entry(Stream stream) { var data = new byte[Binary.BigEndian.ReadUInt16(stream)]; stream.Read(data); String = ModifiedUtf8Helper.Decode(data); }