File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,15 @@ foreign import readImpl :: String -> Offset -> Buffer -> Number
118118-- |
119119-- Reads a section of a buffer as a string with the specified encoding.
120120--
121- readString :: forall e . Encoding -> Offset -> Offset -> Buffer -> String
121+ readString :: Encoding -> Offset -> Offset -> Buffer -> String
122122readString = readStringImpl <<< show
123123
124124foreign import readStringImpl :: String -> Offset -> Offset -> Buffer -> String
125125
126126-- |
127127-- Reads the buffer as a string with the specified encoding.
128128--
129- toString :: forall e . Encoding -> Buffer -> String
129+ toString :: Encoding -> Buffer -> String
130130toString = toStringImpl <<< show
131131
132132foreign import toStringImpl :: String -> Buffer -> String
You can’t perform that action at this time.
0 commit comments