code: public byte[] toByteArray() {
  
          int size = getSize();
  
          final ByteBuffer buff = ByteBuffer.allocate(size);
  
          // add revision
          buff.put(revision.getValue());
  
          // add reserved
          buff.put((byte) 0x00);
  
          // add size (2 bytes reversed)
          byte[] sizeSRC = NumberFacility.getBytes(size);
          buff.put(sizeSRC[3]);
          buff.put(sizeSRC[2]);
  
          // add ace count (2 bytes reversed)
          byte[] aceCountSRC = NumberFacility.getBytes(getAceCount());
          buff.put(aceCountSRC[3]);
          buff.put(aceCountSRC[2]);
  
          // add reserved (2 bytes)
          buff.put((byte) 0x00);
          buff.put((byte) 0x00);
  
          // add aces
          for (ACE ace : aces) {
              buff.put(ace.toByteArray());
          }
  
          return buff.array();
      }
docs: Serializes to byte array.
  
  @return serialized ACL.