Restricted byte buffer for Go