Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (162 Bytes)
Bug #11109
» bug.rb
yangzhijava (Jeffrey Yang)
, 04/30/2015 04:06 PM
#!/usr/local/bin/ruby
#
require
'stringio'
require
'bson'
sio
=
StringIO
.
new
1
.
to_bson
puts
BSON
::
Int64
.
from_bson
sio
sio
.
rewind
puts
BSON
::
Int32
.
from_bson
sio
« Previous
1
2
3
Next »
(3-3/3)
Loading...