to_native
git-svn-id: file:///home/svn/incoming/trunk@3320 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b5b9e2ac1f
commit
7a24c3556c
|
@ -333,6 +333,16 @@ class Encoder < Module
|
|||
return block
|
||||
end
|
||||
|
||||
#
|
||||
# Provides the encoder with an opportunity to return the native format (as
|
||||
# in the format the code will be in when it executes on the target). In
|
||||
# general, the same buffer is returned to the caller. However, for things
|
||||
# like unicode, the buffer is unicod encoded and then returned.
|
||||
#
|
||||
def to_native(buf)
|
||||
buf
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue