to_native

git-svn-id: file:///home/svn/incoming/trunk@3320 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2006-01-06 15:35:06 +00:00
parent b5b9e2ac1f
commit 7a24c3556c
1 changed files with 10 additions and 0 deletions

View File

@ -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
#