VectorGraphicsBuffer constructor
VectorGraphicsBuffer()
Creates an interface for incrementally building a ByteData instance.
Implementation
VectorGraphicsBuffer()
: _buffer = <int>[],
_isDone = false,
_eightBytes = ByteData(8) {
_eightBytesAsList = _eightBytes.buffer.asUint8List();
// Begin message with the magic number and current version.
_putUint32(VectorGraphicsCodec._magicNumber);
_putUint8(VectorGraphicsCodec._version);
}