The ImmutableBytes class declares the programmatic interface to an object that contains immutable data in the form of bytes. The bytes method returns the bytes contained in the ImmutableBytes object, and can return a range of bytes from a starting point within the bytes themselves. length returns the number of bytes contained in the ImmutableBytes object.