예제 #1
0
        public new static Series FromBuffer(byte[] buf, DType buftype, int iheight, int icol)
        {
            var data  = new string[iheight];
            var dtype = buftype.Fields[icol];

            buftype.FillDataFromBufferSlow(buf, data, iheight, icol, byteConverter: (b, i, c) => dtype.EncodingStyle.GetString(b, i, c)?.TrimEnd('\0'));
            return(new Series <string>(data, dtype));
        }