Initial work on ByteEncoding