text: 'use strict'
  
  const AsyncObject = require('@cuties/cutie').AsyncObject
  
  // Represented result is number
  class ReadUInt8 extends AsyncObject {
    constructor (buf, offset, noAssert) {
      super(buf, offset, noAssert || false)
    }
  
    syncCall () {
      return (buf, offset, noAssert) => {
        return buf.readUInt8(offset, noAssert)
      }
    }
  }
  
  module.exports = ReadUInt8
  