types/Uint8.js

const BufferMethodIntType = require('./BufferMethodIntType');

/**
 * @class
 * A single byte of data.
 * @description Equivalent to using Buffer's [write|read]UInt8.
 * @augments BufferMethodIntType
 * @augments TranscodableType
 */
class Uint8 extends BufferMethodIntType {
	constructor(){
		super('writeUInt8', 'readUInt8', 1);
	}
}

module.exports = Uint8;