@Override
    public void encode(OutputStream os) throws IOException {
        os.write(PREFIX);
        for (BencodeType bencodeType : list) {
            bencodeType.encode(os);
        }
        os.write(COMMON_POSTFIX);
    }