Get the depth as bytes.
List<int> toBytes([Endian endian = Endian.big]) { return IntUtils.toBytes(depth, length: fixedLength(), byteOrder: endian); }