internal ArrayAttribute(string name, Constants.Value Typesize) : base(name) { _Typesize = Typesize; }
protected byte[] FindVector(int innerObjectPosition, int position, byte[] buffer, Constants.Value typeSize) { var offset = __offset(innerObjectPosition, position, buffer); var offsetLong = offset + innerObjectPosition; var vecStart = Vector(offsetLong, buffer); var vecLength = Vector_length(offsetLong, buffer) * (int)typeSize; return(offset == 0 ? new byte[] { 0 } : buffer.Take(vecStart, vecLength)); }
internal ScalarAttribute(string name, Constants.Value Typesize) : base(name) { _size = Typesize; }
protected byte[] FindParam(int innerObjectPosition, int position, byte[] buffer, Constants.Value typeSize) { var offset = __offset(innerObjectPosition, position, buffer); return(offset == 0 ? new byte[] { 0 } : buffer.Take(offset + innerObjectPosition, (int)typeSize)); }
internal ArrayAttribute(string name, Constants.Value typeSize) : base(name) { _typeSize = typeSize; }