"use strict" ; import { _ } from 'streamline-runtime' ; export function stringify ( encoding ? ) { encoding = encoding || 'utf8' ; return ( _ , data ) => { return data . toString ( encoding ) ; } ; } export function bufferify ( encoding ? ) { encoding = encoding || 'utf8' ; return ( _ , data ) => { return Buffer . from ( data , encoding ) ; } ; }