MessageBody.flatten

Fills in @body's data field with a buffer containing all of the data in @body (plus an additional '\0' byte not counted by @body's length field).

class MessageBody
flatten
()

Return Value

Type: Buffer

a #SoupBuffer containing the same data as @body. (You must free this buffer if you do not want it.)

Meta