Achamenes.ID3.Frames.Parsers.TextFrameParser.ParseTextFrame C# (CSharp) Метод

ParseTextFrame() защищенный статический Метод

Returns the text encoded in a text frame.
protected static ParseTextFrame ( byte data ) : string
data byte Byte array to parse the text frame out of.
Результат string
        protected static string ParseTextFrame(byte[] data)
        {
            //Text encoding                $xx
            //Information                  <text string according to encoding>
            int place=0;

            SingleByteField encodingField=new SingleByteField();
            place+=encodingField.Parse(data, place);

            TextField textField=TextField.CreateTextField(false, (EncodingScheme)encodingField.Value);
            place+=textField.Parse(data, place);

            return textField.Text;
        }
TextFrameParser