public static Ebml_Read_String ( this reader, int size, string &str ) : int | ||
reader | this | |
size | int | |
str | string | |
리턴 | int |
public static int Ebml_Read_String(this BinaryReader reader, int size, out string str)
{
byte[] b = reader.ReadBytes(size);
str = Encoding.UTF8.GetString(b);
return 0;
}