Where is BufferType type gone?
BufferType has been replaced with ByteArray.
Note that in VCL BufferType was an alias to AnsiString and as such it was 1-based. ByteArray is array of byte, so it's 0-based.
In Java and .NET edition BufferType was an alias to ByteArray so it's still 0-based.