module BSON::Integer

def append_bson_int32(encoded)

def append_bson_int32(encoded)
  encoded << (self & 255)
  encoded << ((self >> 8) & 255)
  encoded << ((self >> 16) & 255)
  encoded << ((self >> 24) & 255)
end