layout: tutorial title: Creating your very own Bytes classs description: Creating your very own Bytes classs group: nav-right categories: [“bytes”] previous: mutable-bytes.md

You can create your very own implementation of Bytes by extending the AbstractBytes class.

You will need to implement the following functions:

You can choose to simplify greatly by extending the DelegatingBytes class instead.