def register_Ns3Buffer_methods(root_module, cls):
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
    cls.add_constructor([])
    cls.add_constructor([param('uint32_t', 'dataSize')])
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
    cls.add_method('AddAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('AddAtEnd', 'void', [param('ns3::Buffer const &', 'o')])
    cls.add_method('AddAtStart', 'void', [param('uint32_t', 'start')])
    cls.add_method('Begin', 'ns3::Buffer::Iterator', [], is_const=True)
    cls.add_method('CopyData', 'void', [param('std::ostream *', 'os'), param('uint32_t', 'size')], is_const=True)
    cls.add_method('CopyData', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], is_const=True)
    cls.add_method('CreateFragment', 'ns3::Buffer', [param('uint32_t', 'start'), param('uint32_t', 'length')], is_const=True)
    cls.add_method('Deserialize', 'uint32_t', [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
    cls.add_method('End', 'ns3::Buffer::Iterator', [], is_const=True)
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True)
    cls.add_method('GetSize', 'uint32_t', [], is_const=True)
    cls.add_method('PeekData', 'uint8_t const *', [], is_const=True)
    cls.add_method('RemoveAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('RemoveAtStart', 'void', [param('uint32_t', 'start')])
    cls.add_method('Serialize', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], is_const=True)
    return
def register_Ns3Buffer_methods(root_module, cls):
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
    cls.add_constructor([])
    cls.add_constructor([param('uint32_t', 'dataSize')])
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
    cls.add_method('AddAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('AddAtEnd', 'void', [param('ns3::Buffer const &', 'o')])
    cls.add_method('AddAtStart', 'void', [param('uint32_t', 'start')])
    cls.add_method('Begin', 'ns3::Buffer::Iterator', [], is_const=True)
    cls.add_method('CopyData', 'void', [param('std::ostream *', 'os'), param('uint32_t', 'size')], is_const=True)
    cls.add_method('CopyData', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], is_const=True)
    cls.add_method('CreateFragment', 'ns3::Buffer', [param('uint32_t', 'start'), param('uint32_t', 'length')], is_const=True)
    cls.add_method('Deserialize', 'uint32_t', [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
    cls.add_method('End', 'ns3::Buffer::Iterator', [], is_const=True)
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True)
    cls.add_method('GetSize', 'uint32_t', [], is_const=True)
    cls.add_method('PeekData', 'uint8_t const *', [], is_const=True)
    cls.add_method('RemoveAtEnd', 'void', [param('uint32_t', 'end')])
    cls.add_method('RemoveAtStart', 'void', [param('uint32_t', 'start')])
    cls.add_method('Serialize', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], is_const=True)
    return