git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990997
13f79535-47bb-0310-9956-
ffa450edef68
NewState = State#buffered_transport{wrapped = Wrapped1},
{NewState, Result}.
-%% Reads data through from the wrapped transoprt
+%% Reads data through from the wrapped transport
read(State = #buffered_transport{wrapped = Wrapped0}, Len) when is_integer(Len) ->
{Wrapped1, Response} = thrift_transport:read(Wrapped0, Len),
NewState = State#buffered_transport{wrapped = Wrapped1},
NewState = State#framed_transport{wrapped = Wrapped1},
{NewState, Result}.
-%% Reads data through from the wrapped transoprt
+%% Reads data through from the wrapped transport
read(State0 = #framed_transport{wrapped = Wrapped0, read_buffer = RBuf},
Len) when is_integer(Len) ->
{Wrapped1, {RBuf1, RBuf1Size}} =