Wrapped Bytes class with convenient function